import defaultHttp from "@/utils/request.js";
export const knowledgeAdd = (data) => {
  return defaultHttp({
    url: "/knowledge/add",
    method: "post",
    data,
  });
};

export const knowledgeEdit = (data) => {
  return defaultHttp({
    url: "/knowledge/edit",
    method: "post",
    data,
  });
};
export const knowledgeList = (data) => {
  return defaultHttp({
    url: "/knowledge/list",
    method: "post",
    data
  });
};
export const knowledgeDelete = (data) => {
  return defaultHttp({
    url: "/knowledge/delete",
    method: "post",
    data,
  });
};
